<div class="" >

     <div id="filter">
        <form method="post" action="<?php echo $this->url(array('act' => 'filter'))?>" >
            <input type="text" value="" placeholder="Category Name" name="name" id="name" />
            <input type="text" value="" placeholder="Category Name" name="name" id="name" />
            <input type="text" value="" placeholder="Category Name" name="name" id="name" />
            <input type="submit" value="Find" />
        </form>
     </div>
     
     
     
    <div class="items" >
        <span id="addBtn">Add Category</span>
        
        <div class="ui-widget">
          <h3>Existing Categories:</h3>
          <table class="ui-widget ui-widget-content">
            <thead>
              <tr class="ui-widget-header ">
                <th>Name</th>
                <th>Desciption</th>
                <th>#</th>
                <th>#</th>
              </tr>
            </thead>
            <tbody>
                <?php
                    foreach($this->categories as $categorie):
                        ?><tr data-id="<?php echo $categorie->id;?>"><?php
                            ?><td><?php echo $categorie->text?></td><?php
                            ?><td><?php echo $categorie->description?></td><?php
                            ?><td><span class="update-btn" >Update</span></td><?php
                            ?><td><span class="del-btn" >Delete</span></td><?php                                                                   
                        ?></tr><?php          
                    endforeach;
                ?>
            </tbody>
          </table>
        </div>
    </div>
</div>